package com.new2i.service.able;

import java.util.HashMap;

import com.new2i.model.DoctorEntity;
import com.new2i.model.DoctorUserEntity;
import com.new2i.model.UserEntity; 
 

/**
 * 医生管理用户的业务逻辑处理接口
 * 
 * @since 2015/09／03
 * @author 2i
 *
 */
public interface DoctorUserService {

	/**
	 * 查询医生的所有用户
	 * 
	 * @since 2015/09／03
	 * @author 2i
	 * @param doctor 
	 * @return
	 */
	HashMap<String, Object> getUserListAndCount(DoctorUserEntity doctorUser);
	 
	/**
	 * 创建新生儿用户
	 * 
	 * @since 2015/09／03
	 * @author 2i
	 * @param doctor
	 * @param user
	 * @param userNeo
	 * @return
	 */
	HashMap<String, Object> insertDoctorUser(DoctorEntity doctor, UserEntity user);
	
	/**
	 * 获取用户信息和病历列表
	 * 
	 * @since 2015/09／03
	 * @author 2i
	 * @param doctorUser
	 * @return
	 */
	HashMap<String, Object> getUserInfoAndEmrList(DoctorUserEntity doctorUser); 
}
